<div ng-controller="AuthCtrl" ng-init="regAction()" class="sui-form form-horizontal">
    <!-- <ul class="sui-breadcrumb">
        <li class="active">注册账号</li>
    </ul> -->
    <ul class="sui-breadcrumb">
        <li><a href="#/user/index">用户信息</a></li>
        <li class="active">注册账号</li>
       
    </ul>
    <div class="control-group">
        <label class="control-label v-top"><b style="color: #f00;">*</b> 类型：
        </label>
        <div class="controls">
            {{userType==1?"供应商":"分销商"}}
        </div>
    </div>
    <div class="control-group">
        <label class="control-label v-top"><b style="color: #f00;">*</b> 账号：</label>
        <div class="controls">
            <input ng-model="adminName" type="text" value="" class="input-xlarge">
            <div ng-show="!adminName" class="sui-msg msg-error msg-clear help-block">
                <div class="msg-con">{{'required'| translate}}</div>
                <s class="msg-icon"></s>
            </div>
        </div>
    </div>

    <div class="control-group">
        <label class="control-label v-top"><b style="color: #f00;">*</b> 密码：</label>
        <div class="controls">
            <input ng-model="adminPwd1" type="text" value="" class="input-xlarge">
            <div ng-show="!adminPwd1" class="sui-msg msg-error msg-clear help-block">
                <div class="msg-con">{{'required'| translate}}</div>
                <s class="msg-icon"></s>
            </div>
        </div>
    </div>

    <div class="control-group">
        <label class="control-label v-top"><b style="color: #f00;">*</b> 再次输入密码：</label>
        <div class="controls">
            <input ng-model="adminPwd2" type="text" value="" class="input-xlarge">
            <div ng-show="!adminPwd2" class="sui-msg msg-error msg-clear help-block">
                <div class="msg-con">{{'required'| translate}}</div>
                <s class="msg-icon"></s>
            </div>
        </div>
    </div>
    
    <div class="control-group">
        <label class="control-label"></label>
        <div class="controls">
            <button type="button" id="regsubmit" class="sui-btn btn-primary" ng-click="reg()">提交注册</button>
        </div>
    </div>
</div>
